package ar.org.cfired.creditos.parametros;

public class Departamento {
	private int dep_id;
	private String pro_id;
	private String dep_descripcion;
	private Integer pro_id_sba;
	
	public void setDepId (int dep_id) {
		this.dep_id = dep_id;
	}
	public int getDepId() {
		return (this.dep_id);
	}

	public void setProId (String pro_id) {
		if (pro_id != null)
			this.pro_id = pro_id.substring(0, Math.min(2, pro_id.length()));
		else
			this.pro_id = new String();
	}
	public String getProId() {
		return (this.pro_id);
	}

	public void setDepDescripcion (String dep_descripcion) {
		if (dep_descripcion != null)
			this.dep_descripcion = dep_descripcion.substring(0, Math.min(50, dep_descripcion.length()));
		else
			this.dep_descripcion = new String();
	}
	public String getDepDescripcion() {
		return (this.dep_descripcion);
	}

	public void setProIdSba (Integer pro_id_sba) {
		this.pro_id_sba = pro_id_sba;
	}
	public Integer getProIdSba() {
		return (this.pro_id_sba);
	}
}
